﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

/*********************************************************
 * 命名空间 MDT.VirtualSoftPlatform.PlantEntity
 * 接口名称 BaseMessage
 * 开发人员：-nhy
 * 创建时间：2022/6/27 14:03:29
 * 描述说明：
 * 更改历史：
 * 
 * *******************************************************/
namespace Simple.Tools
{
    /// <summary>
    /// 
    /// </summary>
    public class BaseMessage
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="_msg"></param>
        /// <param name="_code"></param>
        /// <param name="_status"></param>
        public BaseMessage(string _msg, int _code, bool _status)
        {
            Code = _code;
            Status = _status;
            Msg = _msg;

        }
        /// <summary>
        /// 
        /// </summary>
        public int Code { get { return code; } set { code = value; } }
        public bool Status { get { return status; } set { status = value; } }
        public string Msg { get { return msg; } set { msg = value; } }

        private int code;
        private string msg;
        private bool status;
    }
}
